Release 10.1A: OpenEdge Development:
ADM Reference
confirmExit
Data visualization version of confirmExit. This procedure checks the value of the DataModified and RowObjectState properties to make sure there are not unsaved or uncommitted changes before allowing its container to initiate a Destroy operation.
Location: datavis.p Parameters:INPUT plCancel AS LOGICALIf field values have been modified and not saved, it returns TRUE and the destroyObject is cancelled.
Notes:
- Invoked from destroyObject and confirmExit itself.
- A SmartContainer publishes this event to all its container targets before initiating destroyObject. If data are modified in one of its container targets, the destroyObject is cancelled.
- The first object where updates are uncommitted displays the message “Unsaved changes. Exit operation cancelled.”
- Used internally. Could be customized to add additional checks before allowing an Exit, or to modify the message displayed.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |